<h2>DESCRIPTION</h2>

<em>r.resample</em> resamples the data values in a user-specified raster
input map layer <em>name</em> (bounded by the current geographic region
and masked by the current mask), and produces a new raster output map layer
<em>name</em> containing the results of the resampling.
The category values in the new raster output map layer will be the same
as those in the original, except that the resolution and extent of the
new raster output map layer will match those of the current geographic region
settings (see <em><a href="g.region.html">g.region</a></em>).
<em>r.resample</em> is intended for resampling of discrete raster data
(such as land cover, geology or soil type) to a different resolution.
Continuous data (such as elevation or temperature) usually require reinterpolation
when changing resolution, see <em><a href="r.resamp.interp.html">r.resamp.interp</a></em>.

<h2>NOTES</h2>

The method by which resampling is conducted is "nearest neighbor"
(see <em><a href="r.neighbors.html">r.neighbors</a></em>).  
The resulting raster map layer will have the same
resolution as the resolution of the current geographic region
(set using <em><a href="g.region.html">g.region</a></em>).

<p>The resulting raster map layer may be identical to the original raster
map layer.  The <em>r.resample</em> program will copy the color table
and history file associated with the original raster map
layer for the resulting raster map layer and will create a modified
category file which contains description of only those categories
which appear in resampled file.

<p>
When the user resamples a GRASS <em>reclass</em> file, a true raster map
is created by <em>r.resample</em>.

<h2>SEE ALSO</h2>

<em>
<a href="g.region.html">g.region</a>,
<a href="r.mapcalc.html">r.mapcalc</a>,
<a href="r.mfilter.html">r.mfilter</a>,
<a href="r.neighbors.html">r.neighbors</a>,
<a href="r.rescale.html">r.rescale</a>,
<a href="r.resamp.interp.html">r.resamp.interp</a>
</em>

<p>
Overview: <a href="https://grasswiki.osgeo.org/wiki/Interpolation">Interpolation and Resampling</a> in GRASS GIS

<h2>AUTHOR</h2>

Michael Shapiro,
U.S.Army Construction Engineering Research Laboratory

<!--
<p>
<i>Last changed: $Date$</i>
-->
